﻿package me2day.api.events
{
	import flash.events.Event;
	public class Me2dayEvent extends Event
	{
		public static const ON_FRIENDS_RESULT:String = "onFriendsResult";
		public static const ON_PERSON_RESULT:String = "onPersonResult";
		public static const ON_CREATE_POST:String = "onCreatePost";
		public static const ON_LATEST_RESULT:String = "onLatestResult";
		public static const ON_NOOP:String = "onNoop";
		public static const ON_COMMENT_RESULT:String = "onCommentResult";
		public static const ON_CREATE_COMMENT:String = "onCreateComment";
		public static const ON_SET_DESCRIPTION:String = "onSetDescription";
		public static const ON_METOOS_RESULT:String = "onMetoosResult";
		public static const ON_DOMETOO_RESULT:String = "onDoMetooResult";
		public static const ON_GET_AUTH_URL_RESULT:String = "onGetAuthUrlResult";
		public static const ON_GET_FULL_AUTH_TOKEN_RESULT:String = "onGetFullAuthTokenResult";
		public static const ON_GET_TRACK_COMMENTS_RESULT:String = "onGetTrackCommentsResult";
		
		private var _data:Object = new Object();
		public function Me2dayEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false)
		{
			super(type, bubbles, cancelable);
		}
		public function get data ():Object
		{
			return _data;
		}
		public function set data (d:Object):void
		{
			_data = d;
		}
	}
}